﻿using Microsoft.EntityFrameworkCore;
using OpenAiProxy.API.Models;

#pragma warning disable CS8618
namespace OpenAiProxy.API.Database
{
    public class MySqlDbContext : DbContext
    {
        public DbSet<AccountInfo> AccountInfos { get; set; }
        public DbSet<AccountHistory> AccountHistories { get; set; }
        public DbSet<WindowsInfo> WindowsInfos { get; set; }
        public DbSet<BrowserInfo> BrowserInfos { get; set; }

        // ReSharper disable once IdentifierTypo
        public DbSet<Feedback> Feedbacks { get; set; }

        public MySqlDbContext(DbContextOptions<MySqlDbContext> options)
            : base(options)
        {

        }
    }
}
